﻿using System;
using System.Collections.Generic;

using SMSSender.Entities.Utils;
using SMSSender.Entities.Models;
using SMSSender.DAL;
using SMSSender.Common;

namespace SMSSender.Biz
{
    public class V_ListPhoneSendSMSService
    {
        /// <summary>
        /// Selects all records from the MessageHistory table.
        /// </summary>
        public List<V_ListPhoneSendSMSInfo> SelectListPhoneSendSMS(string RoleKey)
        {
            try
            {
                return new V_ListPhoneSendSMSDAO().SelectListPhoneSendSMS(RoleKey);
            }
            catch (Exception ex)
            {
                Logger.Error("SMSSender.Biz.V_ListPhoneSendSMSService - SelectListPhoneSendSMS", ex);
                throw;
            }

        }

    }
}
